<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息</title>
    <script src="{{ url_for('static',filename='js/javascript.js') }}"></script>
    <link rel="stylesheet" href="{{ url_for('static',filename='css/css.css') }}">
</head>
<body>
{{ title }}<br/>
{{ student.name }},{{ student.age }}<br/>
{{ lisi.name }},{{ lisi.age }}<br/>
<h3>if条件语句</h3>
{% if lisi.age<=3 %}
    婴幼儿
{% elif lisi.age <18 %}
    青少年
{% else %}
    成年人
{% endif %}
<h3>遍历元组</h3>
{% for hobby in hobbies %}
    {{ hobby }}
{% endfor %}
<h3>遍历列表</h3>
{% for movie in movies %}
    {{ loop.index }},{{ movie.name }},{{ movie.director }}<br/>
{% endfor %}
<h3>过滤器</h3>
first:{{ titleA|first }}<br/>
last:{{ titleA|last }}<br/>
length:{{ titleA|length }}<br/>
upper:{{ titleA|upper }}
<h3>自定义过滤器</h3>
{{ timeA|dateformat }}
<h3>加载静态文件</h3>
<img src="{{ url_for('static',filename='images/nezha.png') }}" alt="">
</body>
</html>